<div>
	<form method="post" id="sysres_res_enum_${action_id}_edit_form" name="sysres_res_enum_${action_id}_edit_form" >
	<input type="hidden" id="entity.id" name="entity.id"  />
	<input type="hidden" id="entity.keyType" name="entity.keyType" />
	<input type="hidden" id="entity.hasLeaf" name="entity.hasLeaf" value="false" />
    <table class="form-table" >
        <tr>
            <td>${action.getDatagridTitle('name')}:</td>
            <td><input id="entity.name" name="entity.name" type="text" style="width:380px;"  class="easyui-validatebox" data-options="required:true,validType:'length[0,64]'"   /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('keyValue')}:</td>
            <td><textarea id="entity.keyValue" name="entity.keyValue" style="height:100px;width:380px;resize: none;"  class="easyui-validatebox" data-options="validType:'length[0,256]'"   ></textarea></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('comments')}:</td>
            <td><textarea id="entity.comments" name="entity.comments" style="height:100px;width:380px;resize: none;"  class="easyui-validatebox" data-options="validType:'length[0,512]'" ></textarea></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('parent')}:</td>
            <td>
            	<select id="entity.parent.id" name="entity.parent.id" class="easyui-combobox" data-options="editable:false" style="width:380px;" >
            		<#list parents as pa>
            			<option value="${pa.id}">${pa.name}</option>
            		</#list>
            	</select>
            </td>
        </tr>
    </table>
	</form>
</div>
